package com.toycloud.business.dto.params;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.validation.constraints.*;


/**
 * @author hlchan
 * @version 1.0
 * @date 2024/9/6 9:58
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CommonPageParam {
    @NotNull(message = "未传页面数量")
    private int pageSize = 10;
    @NotNull(message = "未传当前页号")
    private int current = 1;
}
